package com.construction_Safety.leave.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.construction_Safety.common.annotation.Excel;
import com.construction_Safety.common.core.domain.BaseEntity;

/**
 * 请假员工管理对象 c_leave_user
 * 
 * @author yat
 * @date 2025-11-10
 */
public class CLeaveUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 请假单号 */
    @Excel(name = "请假单号")
    private Long leaveId;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setLeaveId(Long leaveId) 
    {
        this.leaveId = leaveId;
    }

    public Long getLeaveId() 
    {
        return leaveId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("leaveId", getLeaveId())
            .append("userId", getUserId())
            .toString();
    }
}
